/*! \file debug.cpp
 *	\brief 
 *
 *	created:	2010/04/19
 *	created:	19:4:2010   0:07
 *	filename: 	c:\Users\venn\Documents\tactics-engine\libs\core\win32\debug.cpp
 *	file path:	c:\Users\venn\Documents\tactics-engine\libs\core\win32
 *	file base:	debug
 *	file ext:	cpp
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */

#include "core/stdafx.h"
#include <core/debug.h>

#include <windows.h>

namespace tt{
namespace core{

namespace debug{

#if defined TT_DEBUG

void Output( const Char* message )
{
	OutputDebugString(message);
	OutputDebugString("\n");
}

void Output( const String& message )
{
	OutputDebugString(message.c_str());
	OutputDebugString("\n");
}

void Output(const Format& format)
{
	OutputDebugString(format.str().c_str());
	OutputDebugString("\n");
}

#endif

} //namespace debug

} //namespace core
} //namespace tt
